<template>
  <div class="release">
    <myHead title="我的发布"></myHead>
    <div class="rel-head">
      <div>
        <img src="../../../../static/img/girlUser.jpeg" alt="" class="uhead">
      </div>
      <div class="rel-uname">
        <p>做梦都想上大学</p><img src="../../../../static/img/xbNan.png" alt="">
      </div>
      <div class="rel-umsg">
        <p>北京</p><p>20岁</p><p>沈阳理工大学</p>
      </div>
      <div class="rel-fs">
        <p @click="jump('lifeMyConcerns')">关注&nbsp;&nbsp;89</p>&nbsp;&nbsp;|&nbsp;&nbsp;<p @click="jump('lifeMyFans')">粉丝&nbsp;&nbsp;11w</p>
      </div>
    </div>
    <div class="msgBox">
      <div class="msg-t"></div>
      <!--  消息部分  -->
      <div class="msg">
        <div class="msgHead">
          <div class="msg-h-l">
            <p class="msg-h-tx"><img src="../../../../static/img/girlUser.jpeg" alt="">
<!--              <img src="../../../../static/img/vip111.png" alt="">-->
            </p>
            <div class="msg-h-dj">
              <div class="msg-h-nick"><span>Anner</span></div>
              <p>学习使我快乐 | 10分钟前</p>
            </div>
          </div>
        </div>
        <div class="msg-txt" @click="jump('dynamic')">学习是一种信仰，这话是对的。因为我们每个人要在这个世界上生存，必须要学习，学习是从小就开始了的，经过不断的学....</div>
        <div class="msg-img">
          <video src=""></video>
        </div>
        <div class="msg-dz">
          <p><img src="../../../../static/img/tz1.png" alt=""><span>20</span></p>
          <p><img src="../../../../static/img/tz2.png" alt=""><span>85</span></p>
          <p><img src="../../../../static/img/tz4.png" alt=""><span>98</span></p>
        </div>
      </div>
      <div class="msg">
        <div class="msgHead">
          <div class="msg-h-l" >
            <p class="msg-h-tx"><img src="../../../../static/img/uhead.jpg" alt="">
<!--              <img src="../../../../static/img/vip111.png" alt="">-->
            </p>
            <div class="msg-h-dj">
              <div class="msg-h-nick"><span>Anner</span></div>
              <p>学习使我快乐 | 10分钟前</p>
            </div>
          </div>
        </div>
        <div class="msg-txt" @click="jump('dynamic')">学习是一种信仰，这话是对的。因为我们每个人要在这个世界上生存，必须要学习，学习是从小就开始了的，经过不断的学....</div>
        <div class="msg-img">
          <img src="../../../../static/img/qwe1.png" alt=""><img src="../../../../static/img/qwe2.png" alt=""><img src="../../../../static/img/qwe3.png" alt="">
        </div>
        <div class="msg-dz">
          <p><img src="../../../../static/img/tz1.png" alt=""><span>20</span></p>
          <p><img src="../../../../static/img/tz2.png" alt=""><span>85</span></p>
          <p><img src="../../../../static/img/tz4.png" alt=""><span>98</span></p>
        </div>
      </div>
      <div class="msg">
        <div class="msgHead">
          <div class="msg-h-l" >
            <p class="msg-h-tx"><img src="../../../../static/img/uhead.jpg" alt="">
<!--              <img src="../../../../static/img/vip111.png" alt="">-->
            </p>
            <div class="msg-h-dj">
              <div class="msg-h-nick"><span>Anner</span></div>
              <p>学习使我快乐 | 10分钟前</p>
            </div>
          </div>
        </div>
        <div class="msg-txt" @click="jump('dynamic')">学习是一种信仰，这话是对的。因为我们每个人要在这个世界上生存，必须要学习，学习是从小就开始了的，经过不断的学....</div>
        <div class="msg-img">
          <video src=""></video>
        </div>
        <div class="msg-dz">
          <p><img src="../../../../static/img/tz1.png" alt=""><span>20</span></p>
          <p><img src="../../../../static/img/tz2.png" alt=""><span>85</span></p>
          <p><img src="../../../../static/img/tz4.png" alt=""><span>98</span></p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  import myHead from "../lib/myHead";
  export default {
    name: "release",
    components:{
      myHead
    },
    methods: {
      jump(page){
        this.$router.push({
          name:page
        })
      }
    }
  }
</script>

<style scoped>
  .release {
    width: 100%;
    box-sizing: border-box;
    padding-top: .49rem;
    min-height: 6rem;
    background-color: #F5F5F5;
  }
  .rel-head {
    width: 100%;
    height: 2.4rem;
    background-image: url("../../../../static/img/wdfbtu1.png");
    background-size: 100% 100%;
    box-sizing: border-box;
    padding: .35rem 0;
    color: #FFFFFF;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
  }
  .uhead {
    width:.59rem;
    height:.59rem;
    background:rgba(0,0,0,1);
    border:.02rem solid rgba(255, 255, 255, 1);
    border-radius:50%;
  }

  .rel-head>div {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
  }
  .rel-uname {
    display: flex;
    flex-flow: row;
    align-items: center;
  }
  .rel-uname>img {
    width: .1rem;
    height: .1rem;
    margin-left: .05rem;
  }
  .rel-uname>p {
    font-size:.16rem;
    font-family:PingFang SC;
    font-weight:400;
  }
  .rel-umsg>p {
    padding: 0 .05rem;
    height:.22rem;
    background:rgba(0,0,0,0.36);
    border-radius:.01rem;
    text-align: center;
    line-height: .22rem;
    margin-right: .1rem;
  }
  .rel-fs {
    font-size:.15rem;
    font-family:PingFang SC;
    font-weight:400;
  }

  .msgBox {
    position: relative;
    top: -.15rem;
    padding-top: .1rem;
  }
  .msg-t {
    width: 100%;
    height: .3rem;
    border-radius:.1rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #FFFFFF;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
  .msg {
    width: 100%;
    box-sizing: border-box;
    padding: .15rem;
    background-color: #ffffff;
    margin-bottom: .1rem;
    position: relative;
    z-index: 1;
  }
  .msg:nth-last-child(1) {
    margin-bottom: 0;
  }
  .msgHead {
    width: 100%;
    height: .32rem;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .15rem;
  }
  .msg-h-l {
    height: 100%;
    display: flex;
    flex-flow: row;
    align-items: center;
  }
  .msg-h-tx {
    position: relative;
  }
  .msg-h-tx>img:nth-child(1) {
    width: .32rem;
    height: .32rem;
  }
  .msg-h-tx>img:nth-child(2) {
    width: .15rem;
    height: .15rem;
    position: absolute;
    right: -.06rem;
    bottom: -.01rem;
  }
  .msg-h-dj {
    height: 100%;
    display: flex;
    flex-flow: column;
    margin-left: .1rem;
    justify-content: space-between;
  }
  .msg-h-dj>p:nth-child(2) {
    font-size: .11rem;
    color: #999999;
    line-height: .11rem;
  }
  .msg-h-nick {
    display: flex;
    flex-flow: row;
    align-items: center;
  }
  .msg-h-nick>p {
    width:.4rem;
    height:.14rem;
    background:rgba(255,142,73,1);
    border-radius:.07rem;
    font-size: .1rem;
    text-align: center;
    line-height: .14rem;
    color: #ffffff;
    margin-left: .1rem;
  }
  .msg-h-nick>span {
    font-size: .15rem;
    color: #333333;
    line-height: .15rem;
  }
  .follow {
    width:.5rem;
    height:.2rem;
    background:rgba(255,233,220,1);
    border-radius:.11rem;
    font-size: .12rem;
    color: #FF8E49;
    line-height: .2rem;
    text-align: center;
  }
  .msg-txt {
    font-size: .13rem;
    color: #666666;
    line-height: .18rem;
    margin-bottom: .1rem;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  .msg-img>video {
    width: 100%;
    height: 100%;
  }
  .msg-img>img {
    width: 1.12rem;
    height: 1.12rem;
    margin-bottom: .05rem;
  }
  .msg-img {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: .1rem;
  }

  .msg-bq {
    width:1.5rem;
    height:.3rem;
    background:rgba(242,242,242,1);
    border-radius:.15rem;
    color: #000000;
    font-size: .12rem;
    text-align: center;
    line-height: .3rem;
    margin-bottom: .1rem;
  }
  .msg-bq>span {
    color: #6F2EEE;
  }
  .msg-dz {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .msg-dz>p {
    display: flex;
    flex-flow: row;
    align-items: center;
  }
  .msg-dz>p>img {
    width: .17rem;
    margin-right: .05rem;
  }
  .msg-dz>p {
    font-size: 0;
  }
  .msg-dz>p>span {
    font-size: .12rem;
    color: #999999;
  }
</style>
